WeightedAdjacencyGraph
WeightedAdjacencyGraph[wmat] gives the graph with weighted adjacency matrix wmat.
WeightedAdjacencyGraph[{v1,v2,…},wmat] gives the graph with vertices vi and weighted adjacency matrix wmat.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.